Add integration test for Invoke-SqlDscQuery command#2256
Merged
Conversation
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Integration test missing for Invoke-SqlDscQuery
Add integration test for Invoke-SqlDscQuery command
Sep 18, 2025
Copilot stopped work on behalf of
johlju due to an error
September 18, 2025 10:37
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2256 +/- ##
====================================
Coverage 94% 94%
====================================
Files 149 149
Lines 9163 9163
====================================
Hits 8687 8687
Misses 476 476
🚀 New features to boost your workflow:
|
johlju
requested changes
Sep 21, 2025
tests/Integration/Commands/Invoke-SqlDscQuery.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
tests/Integration/Commands/Invoke-SqlDscQuery.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
…login for SqlLogin test Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
johlju
reviewed
Sep 21, 2025
4 tasks
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
johlju
requested changes
Sep 21, 2025
tests/Integration/Commands/Invoke-SqlDscQuery.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
tests/Integration/Commands/Invoke-SqlDscQuery.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
…line Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
johlju
approved these changes
Sep 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ Complete Integration Test Implementation
Created comprehensive integration test covering:
Infrastructure Updates:
Quality Assurance:
Addressed All Feedback:
The integration test ensures
Invoke-SqlDscQueryfunctions correctly in real SQL Server environments across all supported versions (2017, 2019, 2022).Fixes #2227.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.
This change is